﻿using System;


namespace Restaurant.Model
{
    public partial class Order
    {
        public Order()
        { }
        #region Model
        private long _id;
        private Guid _orderid;
        private Guid _subcompany_id;
        private Guid _table_id;
        private string _ordernum;
        private decimal _orderprice;
        private string _orderpaytype;
        private DateTime _orderendtime;
        private string _remarks;
        private DateTime? _creationtime = DateTime.Now;
        private string _operator;
        private DateTime? _modificationtime;
        private int? _removesign = 0;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public Guid OrderId
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 关联公司ID
        /// </summary>
        public Guid SubCompany_Id
        {
            set { _subcompany_id = value; }
            get { return _subcompany_id; }
        }
        /// <summary>
        /// 关联卓号ID
        /// </summary>
        public Guid Table_Id
        {
            set { _subcompany_id = value; }
            get { return _subcompany_id; }
        }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNum
        {
            set { _ordernum = value; }
            get { return _ordernum; }
        }
        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal OrderPrice
        {
            set { _orderprice = value; }
            get { return _orderprice; }
        }
        /// <summary>
        /// 订单支付类型
        /// </summary>
        public string OrderPayType
        {
            set { _orderpaytype = value; }
            get { return _orderpaytype; }
        }
        /// <summary>
        /// 订单结束时间
        /// </summary>
        public DateTime OrderEndTime
        {
            set { _orderendtime = value; }
            get { return _orderendtime; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks
        {
            set { _remarks = value; }
            get { return _remarks; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime
        {
            set { _creationtime = value; }
            get { return _creationtime; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModificationTime
        {
            set { _modificationtime = value; }
            get { return _modificationtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RemoveSign
        {
            set { _removesign = value; }
            get { return _removesign; }
        }
        #endregion Model
    }
}
